{include file="public/head"/}
<body>
<div class="x-nav">
      <span class="layui-breadcrumb">
        <a><cite>后台管理</cite></a>
        <a><cite>企业信息管理中心</cite></a>
        <a><cite>优惠券使用详情</cite></a>
      </span>
    <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
        <i class="layui-icon" style="line-height:30px">ဂ</i></a>
</div>
<div class="x-body">
    <div class="layui-row">
        <form class="layui-form layui-col-md12 x-so"  method="get" action="{url(admin/Coupon/couponUsed)}">
            <div class="layui-input-inline">
                <select name="property_id" lay-filter="commname" id="commname">
                    <option value="">所属商户</option>
                    {foreach $propertylist as $v}
                    <option value="{$v.id}" {if isset($where.property_id)}{if $where.property_id == $v.id} selected {/if}{/if}>{$v.merchant_name}</option>
                    {/foreach}
                </select>
            </div>
            <input type="text" name="shops_name"  placeholder="商铺名称" autocomplete="off" class="layui-input" value="{if isset($where.shops_name)}{$where.shops_name}{/if}">
            <button class="layui-btn"  lay-submit="" lay-filter="sreach"><i class="layui-icon">&#xe615;</i></button>
        </form>
    </div>
    <xblock>
        <span class="x-right" style="line-height:40px">共有数据：{} 条</span>
    </xblock>
    <table class="layui-table"  style="text-align: center;">
        <thead>
        <tr>
            <th style="text-align: center; font-size: 16px; height: 30px;">商铺名称</th>
            <th style="text-align: center; font-size: 16px;">所属商户</th>
            <th style="text-align: center; font-size: 16px;">卷发放日期</th>
            <th style="text-align: center; font-size: 16px;">优惠金额</th>
            <th style="text-align: center; font-size: 16px;">有效天数</th>
            <th style="text-align: center; font-size: 16px;">发卷总数</th>
            <th style="text-align: center; font-size: 16px;">卷剩余数</th>
            <th style="text-align: center; font-size: 16px;">添加时间</th>
        </tr>
        </thead>
        <tbody>

        <tr>
            <td style="text-align: center;">{}</td>
            <td style="text-align: center;">{}</td>
            <td style="text-align: center;">{}</td>
            <td style="text-align: center;">{}</td>
            <td style="text-align: center;">{}</td>
            <td style="text-align: center;">{}</td>
            <td style="text-align: center;">{}</td>
            <td style="text-align: center;">{}</td>
        </tr>

        </tbody>
    </table>
    <div class="page">
        <div>
        </div>
    </div>

</div>
<script>
    var _hmt = _hmt || []; (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>
</body>

</html>